package cn.iocoder.yudao.module.measure.dal.dataobject.point;

import lombok.*;
import com.baomidou.mybatisplus.annotation.*;
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;

import java.util.List;

/**
 * dtu信息 DO
 *
 * @author 超级管理员
 */
@TableName("business_dtu_info")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DtuInfoDO extends BaseDO {

    /**
     * 数据id
     */
    @TableId
    private Long id;

    /**
     * 设备注册id
     */
    private String regId;
    /**
     * 设备imei
     */
    private String imei;
    /**
     * 区域码
     */
    private String areaCode;
    /**
     * 地址码
     */
    private String addressCode;
    /**
     * DTU型号
     */
    private String dtuModel;
    /**
     * DTU名称
     */
    private String dtuName;

    /**
     * 关联的监测点
     */
    @TableField(exist = false)
    private List<MeasurePointInfoDO> businessMeasurePointInfoList;


}